<script>
    import Vue from 'vue'
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.getSystemInfo({
			    success: function(e) {
			        // #ifndef MP
			        Vue.prototype.StatusBar = e.statusBarHeight;
			        if (e.platform == 'android') {
			            Vue.prototype.CustomBar = e.statusBarHeight + 50;
			        } else {
			            Vue.prototype.CustomBar = e.statusBarHeight + 45;
			        };
			        // #endif
			
			        // #ifdef MP-WEIXIN
			        Vue.prototype.StatusBar = e.statusBarHeight;
			        let custom = wx.getMenuButtonBoundingClientRect();
			        Vue.prototype.Custom = custom;
			        Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
			        // #endif       
			
			        // #ifdef MP-ALIPAY
			        Vue.prototype.StatusBar = e.statusBarHeight;
			        Vue.prototype.CustomBar = e.statusBarHeight + e.titleBarHeight;
			        // #endif
			    }
			})
		},
		onShow: function() {
		},
		onHide: function() {
		}
	}
</script>

<style>
	/*每个页面公共css */
	@font-face {
	  font-family: 'iconfont';
	  src: url('./static/font_bv627e8jp4m/iconfont.ttf');
	}
	.iconfont {
	  font-family: "iconfont" !important;
	  font-size: 16px;
	  font-style: normal;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	}
	.container {
		width: 100%;
		height: calc(100vh - 80px);
		overflow: hidden;
	}
	.container scroll-view {
		height: 100%;
	}
	.fixbg {
		width: 100%;
		height: 90vh;
		position: fixed;
		left: 0;
		top: 0;
		background-image: url(static/logo.png);
		background-size: cover;
		background-position: center 0; 
		filter: blur(5px);
		transform: rotateZ(1.2);
		z-index: -999;
	}
</style>
